package com.wm.blog_admin.controller.resp;


import com.wm.blog_common.util.excel.ExcelCodeToString;
import com.wm.blog_common.util.excel.ExcelField;
import lombok.Data;

import java.io.Serializable;

/***
 * @ClassName: BlogExportResp
 * @Description: 导出类
 * @Author: wm_yu
 * @Create_time: 17:13 2020-4-1
 */
@Data
public class BlogExportResp implements Serializable {
    private static final long serialVersionUID = -397737824294595275L;


    @ExcelField(name = "博客标题")
    private String title;

    @ExcelField(name = "博客简介")
    private String summary;

    @ExcelField(name = "博客点击数")
    private Integer clickCount;

    @ExcelField(name = "博客收藏数")
    private Integer collectCount;

    @ExcelField(name = "作者")
    private String author;

    @ExcelField(name = "是否原创")
    @ExcelCodeToString(values = {"0:否","1:是"})
    private String isOriginal;

    @ExcelField(name = "文章出处")
    private String articlesPart;

    @ExcelField(name = "是否发布")
    @ExcelCodeToString(values = {"0:否","1:是"})
    private String isPublish;

}
